public class FirstJava {
    public static void main(String[] args) {
        System.out.println("Hello, Java!");
        //Without quotes, it recognizes integers
        System.out.print( 10 );
        System.out.print("10");
        System.out.println(" 10嘿 嘿");
        text(args);
        text1.main(args);
    }
    public static void text(String[] args) {
        System.out.println("Goodbye, C language?");
    }
}

class text1 {
    public static void main(String[] args) {
        System.out.print("Don't build a new line by ");
        System.out.println("using print rather than println.");
    }
}